package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.heima.pojo.Node;
import com.heima.pojo.vo.NodeDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 赵超
 */
@Mapper
public interface NodeMapper extends BaseMapper<Node> {
    Page<NodeDetailVo> selectDetailByPlanId(Node node);

    List<NodeDetailVo> selectNodeDetailByIds(@Param("nodeIds") List<Long> nodeIds);
}
